﻿@model SpaceNeedle.City6473.Web.Data.Models.Phone
@using SpaceNeedle.City6473.Web.Data.Models

@{
    Layout = "~/Views/Shared/_Layout.cshtml";

    var staticContent = ViewBag.StaticContent as WebSiteContent;
    ViewBag.Title = staticContent.Phones.PageTitle;
}

<br /><br />
<h3>@staticContent.Phones.Edit</h3>
@using (Html.BeginForm())
{
    @Html.HiddenFor(model => model.Id)
    
    <div class="editor-label">
        @staticContent.Phones.Title
    </div>
    <div class="editor-field">
        @Html.TextBoxFor(model => model.Title)
        @Html.ValidationMessageFor(model => model.Title)
    </div>
    <br />

    <div class="editor-label">
        @staticContent.Phones.Number
    </div>
    <div class="editor-field">
        @Html.TextBoxFor(model => model.Number)
        @Html.ValidationMessageFor(model => model.Number)
    </div>
    <br />

    <br />
    <div>
        <button class="btn btn-default" type="submit" value="Create">
            @staticContent.Operations.Save
        </button>
    </div>
}


